package com.sgzn.sgpay.service;

import com.sgzn.sgpay.model.request.SgsSessionQueryRequest;
import com.sgzn.sgpay.model.response.SgsResultResponse;
import com.sgzn.sgpay.persistence.domain.TLoginSession;
import com.sgzn.sgpay.persistence.domain.TMchLoginSession;

/**
 * 会话查询服务
 * @author zhongzhongyong
 * @version Id: SgsSessionQueryService.java, v 0.1 2018/6/21 21:50 zhongzhongyong Exp $$
 */
public interface SgsSessionQueryService {

    /**
     * 查询用户会话
     * @param request
     * @return
     */
    SgsResultResponse<TLoginSession> queryUserSession(SgsSessionQueryRequest request);

    /**
     * 查询商户会话
     * @param request
     * @return
     */
    SgsResultResponse<TMchLoginSession> queryMchSession(SgsSessionQueryRequest request);

}
